const Service = require('egg').Service;

class UserService extends Service {
    async add() {
        const { ctx } = this;
        const result = await ctx.model.User.create({
            username: 'liyuankun',
            password: 'liyuankun'
        });
        return result
    }
}

module.exports = UserService;